package com.ylr.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @ClassName Mymap
 * @Description TODO
 * @Author 11
 * @Date 2021/7/6 14:43
 * @Version 1.0
 */


@Component
public class Mymap {
    @Bean
    public ConcurrentHashMap<String,String> getMap(){
        return new ConcurrentHashMap<>();
    }
}
